/**
 * Created by apple on 16/11/17.
 */
var React = require('react');
var ReactDom = require('react-dom');
var reactRouter = require('react-router');
//import {Router,Route} from 'react-router';
//import { Router } from 'react-router';
var UserGist = React.createClass({

    render: function() {
        return (
            <div>
                {this.state.username} 用户最新的 Gist 共享地址：
                <a href={this.state.lastGistUrl}>{this.state.lastGistUrl}</a>
            </div>
        );
    }
});

var App = React.createClass({

    render: function() {
        return (
            <div>
               s
            </div>
        );
    }
});


var Router = React.createClass({

    render: function() {
        return  <div>router</div>
    }
});
ReactDom.render(<Router />,document.getElementById('main'));
